-- GENERATED SPELL FOR [Falcon Watch Sentinel] --


function spell0_16579(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(22121,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16579', 612, 1)
end

function Sorts_16579(pUnit, Event)
local choix_sorts_16579 = math.random(0, 0)
if choix_sorts_16579 == 0 then
pUnit:RegisterEvent('spell0_16579', 1, 1)
end
end

function mob16579_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16579', math.random(1500, 3000), 1)
end

function mob16579_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16579_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16579_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16579, 1, 'mob16579_Action')
RegisterUnitEvent(16579, 2, 'mob16579_Leave')
RegisterUnitEvent(16579, 3, 'mob16579_Kill')
RegisterUnitEvent(16579, 4, 'mob16579_Die')
